
/* ==================
          操作条
 ==================== */

.tien-bar {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 50px;
  justify-content: space-between;
}

.tien-bar .action {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
  max-width: 100%;
}

.tien-bar .action.border-title {
  position: relative;
  top: -5px;
}

.tien-bar .action.border-title text[class*="bg-"]:last-child {
  position: absolute;
  bottom: -0.5rem;
  min-width: 2rem;
  height: 3px;
  left: 0;
}

.tien-bar .action.sub-title {
  position: relative;
  top: -0.2rem;
}

.tien-bar .action.sub-title text {
  position: relative;
  z-index: 1;
}

.tien-bar .action.sub-title text[class*="bg-"]:last-child {
  position: absolute;
  display: inline-block;
  bottom: -0.2rem;
  border-radius: 3px;
  width: 100%;
  height: 0.6rem;
  left: 0.6rem;
  opacity: 0.3;
  z-index: 0;
}

.tien-bar .action.sub-title text[class*="text-"]:last-child {
  position: absolute;
  display: inline-block;
  bottom: -0.7rem;
  left: 0.5rem;
  opacity: 0.2;
  z-index: 0;
  text-align: right;
  font-weight: 900;
  font-size: 18px;
}

.tien-bar.justify-center .action.border-title text:last-child,
.tien-bar.justify-center .action.sub-title text:last-child {
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

.tien-bar .action:first-child {
  margin-left: 15px;
  font-size: 15px;
}

.tien-bar .action text.text-cut {
  text-align: left;
  width: 100%;
}

.tien-bar .tien-avatar:first-child {
  margin-left: 10px;
}

.tien-bar .action:first-child>text[class*="icon"] {
  margin-left: -0.3em;
  margin-right: 0.3em;
}

.tien-bar .action:last-child {
  margin-right: 15px;
}

.tien-bar .action > text[class*="icon"], .tien-bar .action > view[class*="icon"] {
  font-size: 18px;
}

.tien-bar .action>text[class*="icon"]+text[class*="icon"] {
  margin-left: 0.5em;
}

.tien-bar .content {
  position: absolute;
  text-align: center;
  width: calc(100% - 170px);
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
  cursor: none;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.tien-bar.ios .content {
  bottom: 7px;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
}

.tien-bar.btn-group {
  justify-content: space-around;
}

.tien-bar.btn-group button {
  padding: 10px 16px;
}

.tien-bar.btn-group button {
  flex: 1;
  margin: 0 10px;
  max-width: 50%;
}

.tien-bar .search-form {
  background: #f5f5f5;
  line-height: 32px;
  height: 32px;
  font-size: 12px;
  color: #666;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.tien-bar .search-form+.action {
  margin-right: 10px;
}

.tien-bar .search-form input {
  flex: 1;
  padding-right: 10px;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
}

.tien-bar .search-form [class*="icon"] {
  margin: 0 0.5em 0 0.8em;
}

.tien-bar .search-form [class*="icon"]::before {
  top: 0px;
}

.tien-bar.fixed, .nav.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1024;
  box-shadow: 0 0.5px 3px rgba(0, 0, 0, 0.1);
}

.tien-bar.foot {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 1024;
  box-shadow: 0 -0.5px 3px rgba(0, 0, 0, 0.1);
}

.tien-bar.tabbar {
  padding: 0;
  z-index: 0;
  height: calc(50px + env(safe-area-inset-bottom) / 2);
  padding-bottom: calc(env(safe-area-inset-bottom) / 2);
}

.tien-tabbar-height {
  min-height: 50px;
  height: calc(50px + env(safe-area-inset-bottom) / 2);
}

.tien-bar.tabbar.shadow {
  box-shadow: 0 -0.5px 3px rgba(0, 0, 0, 0.1);
}

.tien-bar.tabbar .action {
  font-size: 11px;
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0;
  display: block;
  height: auto;
  line-height: 1;
  margin: 0;
  background-color: inherit;
  overflow: initial;
}

.tien-bar.tabbar.shop .action {
  width: 70px;
  flex: initial;
}

.tien-bar.tabbar .action.add-action {
  position: relative;
  z-index: 2;
  padding-top: 25px;
}

.tien-bar.tabbar .action.add-action [class*="icon"] {
  position: absolute;
  width: 35px;
  z-index: 2;
  height: 35px;
  border-radius: 50%;
  line-height: 35px;
  font-size: 25px;
  top: -17.5px;
  left: 0;
  right: 0;
  margin: auto;
  padding: 0;
}

.tien-bar.tabbar .action.add-action::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  top: -25px;
  left: 0;
  right: 0;
  margin: auto;
  box-shadow: 0 -1.5px 4px rgba(0, 0, 0, 0.08);
  border-radius: 25px;
  background-color: inherit;
  z-index: 0;
}

.tien-bar.tabbar .action.add-action::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 15px;
  bottom: 15px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: inherit;
  z-index: 1;
}

.tien-bar.tabbar .btn-group {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5px;
}

.tien-bar.tabbar button.action::after {
  border: 0;
}

.tien-bar.tabbar .action [class*="icon"] {
  width: 50px;
  position: relative;
  display: block;
  height: auto;
  margin: 0 auto 5px;
  text-align: center;
  font-size: 20px;
}

.tien-bar.tabbar .action .tien-icon-image {
  margin: 0 auto;
}

.tien-bar.tabbar .action .tien-icon-image img {
  width: 25px;
  height: 25px;
  display: inline-block;
}

.tien-bar.tabbar .submit {
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  flex: 2;
  align-self: stretch;
}

.tien-bar.tabbar .submit:last-child {
  flex: 2.6;
}

.tien-bar.tabbar .submit+.submit {
  flex: 2;
}

.tien-bar.tabbar.border .action::before {
  content: " ";
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  border-right: 0.5px solid rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.tien-bar.tabbar.border .action:last-child:before {
  display: none;
}

.tien-bar.input {
  padding-right: 10px;
  background-color: #fff;
}

.tien-bar.input input {
  overflow: initial;
  line-height: 32px;
  height: 32px;
  min-height: 32px;
  flex: 1;
  font-size: 15px;
  margin: 0 10px;
}

.tien-bar.input .action {
  margin-left: 10px;
}

.tien-bar.input .action [class*="icon"] {
  font-size: 24px;
}

.tien-bar.input input+.action {
  margin-right: 10px;
  margin-left: 0px;
}

.tien-bar.input .action:first-child [class*="icon"] {
  margin-left: 0px;
}

.tien-custom {
  display: block;
  position: relative;
}

.tien-custom .tien-bar .content {
  width: calc(100% - 220px);
}

.tien-custom .tien-bar {
  min-height: 0px;
}

.tien-custom .tien-bar {
  padding-right: 110px;
  box-shadow: 0px 0px 0px;
}

.tien-custom .tien-bar .border-custom {
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 500px;
  height: 30px;
}

.tien-custom .tien-bar .border-custom::after {
  content: " ";
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
  border: 0.5px solid #fff;
  opacity: 0.5;
}

.tien-custom .tien-bar .border-custom::before {
  content: " ";
  width: 0.5px;
  height: 110%;
  position: absolute;
  top: 22.5%;
  left: 0;
  right: 0;
  margin: auto;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  box-sizing: border-box;
  opacity: 0.6;
  background-color: #fff;
}

.tien-custom .tien-bar .border-custom text {
  display: block;
  flex: 1;
  margin: auto !important;
  text-align: center;
  font-size: 17px;
}

.tien-bar.bottom {
  position: fixed;
  bottom: 0px;
  width: 100%;
  z-index: 999;
}